package com.cdtye.itps.cms.dao.categoryreport.vo;

import com.cdtye.common.mybatiscore.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Pattern;

/**
 * 1c超限数据-缺陷报表
 * @author Jchen
 * @date 2021-09-24
 */
@ApiModel("1c超限数据-缺陷报表")
@Getter
@Setter
public class JcjcCategoryReportVo extends BaseVo {

    @ApiModelProperty(value = "局id")
    private String deptJuId;

    @ApiModelProperty(value = "局code")
    private String unitDeptCode;


    @ApiModelProperty(value = "线路id")
    private String lineId;

    private String lineName;

    private String deptId;

    private String deptName;

    @ApiModelProperty(value = "行别id")
    private String directionId;

    private String directionName;

    private String railType;

    @ApiModelProperty(value = "检测日期")
    @Pattern(regexp = "^(((?:19|20)\\d\\d)-(0?[1-9]|1[0-2])-(0?[1-9]|[12][0-9]|3[01]))$", message = "需要匹配格式：yyyy-MM-dd")
    private String taskDate;

    private String beginTaskDate;

    private String endTaskDate;

    @ApiModelProperty(value = "里程")
    private String lileage;

    private Double beginLileage;

    private Double endLileage;

    @ApiModelProperty(value = "速度")
    private String speed;

    private Double beginSpeed;

    private Double endSpeed;

    @ApiModelProperty(value = "缺陷类型id")
    private String categoryId;

    private String categoryName;

    @ApiModelProperty(value = "缺陷等级id")
    private String levelId;

    private String levelName;

    @ApiModelProperty(value = "缺陷值")
    private String defectValue;

    private Double maxDefectValue;

    private Double minDefectValue;

    @ApiModelProperty(value = "扣分数")
    private String deductPoints;

    @ApiModelProperty(value = "导入id")
    private String importId;

    @ApiModelProperty(value = "删除标志")
    private String delFlag;
}

